<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>tmrctr: xtmrctr.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">tmrctr
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xtmrctr_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xtmrctr.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga220874785f096cc5f38b3bec907a008c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga220874785f096cc5f38b3bec907a008c">XTmrCtr_CfgInitialize</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, <a class="el" href="struct_x_tmr_ctr___config.html">XTmrCtr_Config</a> *ConfigPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga220874785f096cc5f38b3bec907a008c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function populates the timer counter's configuration structure and sets some configurations defaults.  <a href="group___overview.html#ga220874785f096cc5f38b3bec907a008c">More...</a><br/></td></tr>
<tr class="separator:ga220874785f096cc5f38b3bec907a008c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3ffcfef4ba4507d5f2b9e17a08c7bf0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gac3ffcfef4ba4507d5f2b9e17a08c7bf0">XTmrCtr_InitHw</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr)</td></tr>
<tr class="memdesc:gac3ffcfef4ba4507d5f2b9e17a08c7bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">(Re-)initialzes all timer counters which aren't started already.  <a href="group___overview.html#gac3ffcfef4ba4507d5f2b9e17a08c7bf0">More...</a><br/></td></tr>
<tr class="separator:gac3ffcfef4ba4507d5f2b9e17a08c7bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5f9b6172f448d2dd13d1c200ca37928"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gad5f9b6172f448d2dd13d1c200ca37928">XTmrCtr_Initialize</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u16 DeviceId)</td></tr>
<tr class="memdesc:gad5f9b6172f448d2dd13d1c200ca37928"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a specific timer/counter instance/driver.  <a href="group___overview.html#gad5f9b6172f448d2dd13d1c200ca37928">More...</a><br/></td></tr>
<tr class="separator:gad5f9b6172f448d2dd13d1c200ca37928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga009c17ab4fcedf73279638dd97b6edd4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga009c17ab4fcedf73279638dd97b6edd4">XTmrCtr_Start</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber)</td></tr>
<tr class="memdesc:ga009c17ab4fcedf73279638dd97b6edd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts the specified timer counter of the device such that it starts running.  <a href="group___overview.html#ga009c17ab4fcedf73279638dd97b6edd4">More...</a><br/></td></tr>
<tr class="separator:ga009c17ab4fcedf73279638dd97b6edd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8156ff2a16b8efc0fcd3ed2b7ecf91a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gab8156ff2a16b8efc0fcd3ed2b7ecf91a">XTmrCtr_Stop</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber)</td></tr>
<tr class="memdesc:gab8156ff2a16b8efc0fcd3ed2b7ecf91a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops the timer counter by disabling it.  <a href="group___overview.html#gab8156ff2a16b8efc0fcd3ed2b7ecf91a">More...</a><br/></td></tr>
<tr class="separator:gab8156ff2a16b8efc0fcd3ed2b7ecf91a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga325269055bb6f9f7a0c7f703bd2f2174"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga325269055bb6f9f7a0c7f703bd2f2174">XTmrCtr_GetValue</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber)</td></tr>
<tr class="memdesc:ga325269055bb6f9f7a0c7f703bd2f2174"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current value of the specified timer counter.  <a href="group___overview.html#ga325269055bb6f9f7a0c7f703bd2f2174">More...</a><br/></td></tr>
<tr class="separator:ga325269055bb6f9f7a0c7f703bd2f2174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74b790866611a3ab1e96700feb48f6ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga74b790866611a3ab1e96700feb48f6ea">XTmrCtr_SetResetValue</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber, u32 ResetValue)</td></tr>
<tr class="memdesc:ga74b790866611a3ab1e96700feb48f6ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the reset value for the specified timer counter.  <a href="group___overview.html#ga74b790866611a3ab1e96700feb48f6ea">More...</a><br/></td></tr>
<tr class="separator:ga74b790866611a3ab1e96700feb48f6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8f339bdf71ed11fa92f08720c9ce663"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gad8f339bdf71ed11fa92f08720c9ce663">XTmrCtr_GetCaptureValue</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber)</td></tr>
<tr class="memdesc:gad8f339bdf71ed11fa92f08720c9ce663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the timer counter value that was captured the last time the external capture input was asserted.  <a href="group___overview.html#gad8f339bdf71ed11fa92f08720c9ce663">More...</a><br/></td></tr>
<tr class="separator:gad8f339bdf71ed11fa92f08720c9ce663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7b4ca5a0ac2199ee5341fddd8056500"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaa7b4ca5a0ac2199ee5341fddd8056500">XTmrCtr_Reset</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber)</td></tr>
<tr class="memdesc:gaa7b4ca5a0ac2199ee5341fddd8056500"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the specified timer counter of the device.  <a href="group___overview.html#gaa7b4ca5a0ac2199ee5341fddd8056500">More...</a><br/></td></tr>
<tr class="separator:gaa7b4ca5a0ac2199ee5341fddd8056500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44d19561a31682753e4996c7b57d6982"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga44d19561a31682753e4996c7b57d6982">XTmrCtr_IsExpired</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u8 TmrCtrNumber)</td></tr>
<tr class="memdesc:ga44d19561a31682753e4996c7b57d6982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the specified timer counter of the device has expired.  <a href="group___overview.html#ga44d19561a31682753e4996c7b57d6982">More...</a><br/></td></tr>
<tr class="separator:ga44d19561a31682753e4996c7b57d6982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga295c8b4acc8b8fd71cb1085d3fa2c53c"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga295c8b4acc8b8fd71cb1085d3fa2c53c">XTmrCtr_PwmConfigure</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr, u32 PwmPeriod, u32 PwmHighTime)</td></tr>
<tr class="memdesc:ga295c8b4acc8b8fd71cb1085d3fa2c53c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures timers to generate PWM output.  <a href="group___overview.html#ga295c8b4acc8b8fd71cb1085d3fa2c53c">More...</a><br/></td></tr>
<tr class="separator:ga295c8b4acc8b8fd71cb1085d3fa2c53c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf13a8cf6dcc0f322abd768c41243220d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaf13a8cf6dcc0f322abd768c41243220d">XTmrCtr_PwmEnable</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaf13a8cf6dcc0f322abd768c41243220d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the PWM output as per configurations set by XTmrCtr_PwmConfigure.  <a href="group___overview.html#gaf13a8cf6dcc0f322abd768c41243220d">More...</a><br/></td></tr>
<tr class="separator:gaf13a8cf6dcc0f322abd768c41243220d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7442dd2a194e46db961019a29c9e755d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7442dd2a194e46db961019a29c9e755d">XTmrCtr_PwmDisable</a> (<a class="el" href="struct_x_tmr_ctr.html">XTmrCtr</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga7442dd2a194e46db961019a29c9e755d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the PWM output.  <a href="group___overview.html#ga7442dd2a194e46db961019a29c9e755d">More...</a><br/></td></tr>
<tr class="separator:ga7442dd2a194e46db961019a29c9e755d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
